package com.aistar.mapper;

import com.aistar.pojo.ProgramRecord;
import com.aistar.pojo.ProgramRecordExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface ProgramRecordMapper {
    int countByExample(ProgramRecordExample example);

    int deleteByExample(ProgramRecordExample example);

    int deleteByPrimaryKey(Integer programRecordId);

    int insert(ProgramRecord record);

    int insertSelective(ProgramRecord record);

    List<ProgramRecord> selectByExample(ProgramRecordExample example);

    ProgramRecord selectByPrimaryKey(Integer programRecordId);

    int updateByExampleSelective(@Param("record") ProgramRecord record, @Param("example") ProgramRecordExample example);

    int updateByExample(@Param("record") ProgramRecord record, @Param("example") ProgramRecordExample example);

    int updateByPrimaryKeySelective(ProgramRecord record);

    int updateByPrimaryKey(ProgramRecord record);
}